'''
Created on Jul 4, 2010

@author: saulo
'''

from etc import constants

DELAY_BETWEEN_CANDIDATE_REQUESTS = 0
DELAY_BETWEEN_RETRIES = 8
MAX_RETRIES = 3
REQUEST_TIMEOUT = 15

SAVE_IMAGE_ON_DATABASE = False
SAVE_IMAGE_AS_FILE = True

INSERT_ON_STATE_DATABASE = True

RECREATE_DATABASE = True

UF_LIST = ('AC', 'AL', 'AM', 'AP', 'BA', 'CE', 'DF', 'ES', 'GO', 'MA', 'MG', 'MS', 'MT', 'PA', 'PB', 'PE', 'PI', 'PR', 'RJ', 'RN', 'RO', 'RR', 'RS', 'SC', 'SE', 'SP', 'TO')
#UF_LIST = ('RS',)
#UF_LIST = ('SE',)
#UF_LIST = ('SE','RS')

TYPE_LIST = (constants.TYPE_GOVERNOR, constants.TYPE_VICE_GOVERNOR, constants.TYPE_SENATOR, constants.TYPE_FEDERAL_DEPUTY, constants.TYPE_STATE_DEPUTY)
#TYPE_LIST = (TYPE_SENATOR,)